import request from '@/utils/request';
export function bannerList(data) {
  return request({
    url: '/dev-api/api/ManagerBanner/list',
    method: 'get',
    params: data,
  });
}
// 新增或修改  /dev-api/api/ManagerBanner/saveBanner
export function bannerAdd(data) {
  return request({
    url: '/dev-api/api/ManagerBanner/saveBanner',
    method: 'post',
    data: data,
  });
}

//删除bannenr  dev-api/api/ManagerBanner/delBanner
export function bannerDetele(data) {
  return request({
    url: '/dev-api/api/ManagerBanner/delBanner',
    method: 'post',
    data: data,
  });
}
//官方banner
export function officialBanner(data) {
  return request({
    url: '/dev-api/api/OfficialBanner/list',
    method: 'post',
    data: data,
  });
}
